/*************************************************************************************
* Author: lye
* Date: Wed 2013/10/02 at 05:43:46 PM
* File Type: EUNIT Main File
*************************************************************************************/

#include <EmbeddedUnit/EmbeddedUnit.h>
#include "Test_MovingAverage.h"

extern void AutomatedTestLevelControl(void);
#warning "Remember to add EUNIT  library and include paths to your other lab code -- Wed 2013/10/02 at 05:43:46 PM"
#warning "KNOWN CCES bug -- Under Preference / linker / libraries -- set system to use exception library -- Wed 2013/10/02 at 05:43:46 PM"
// TODO "KNOWN CCES Bug Under Preference / linker / libraries -- set system to use exception library -- Wed 2013/10/02 at 05:43:46 PM"

int main(void)
{
	int failureCount;

	UnitTest::ProcessorSpecificStartup();

	AutomatedTestLevelControl();

	UnitTest::Test::GetTestList().ReverseListDirection();
// TODO You can adjust UnitTest::RunAllTests( ) to show only failures -- Wed 2013/10/02 at 05:43:46 PM
// TODO e.g. RunAllTests(showFail, showXFail, showSuccess)
	failureCount = UnitTest::RunAllTests(true, true, true);
	
	return failureCount;
}
